package com.ruan.service;

import com.ruan.dao.DeptMapper;
import com.ruan.pojo.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName:DeptService
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/6/14 18:53
 **/
@Service
public class DeptService {

    @Autowired
    private DeptMapper deptMapper;

    public Dept getDeptById(Integer id) {

        return deptMapper.getDeptById(id);

    }
}
